GXSetShapeFill
You can use theGXSetShapeFill
function to change the fill property of a shape object.
void GXSetShapeFill(gxShape target, gxShapeFill newFill);
target
- A reference to the shape whose fill property you want to change.
newFill
- The new value for shape fill.
ERRORS, WARNINGS, AND NOTICES
Errors out_of_memory shape_is_nil shape_access_not_allowed (debugging version) parameter_out_of_range (debugging version) inconsistent_parameters (debugging version) Notices (debugging version) fill_already_set SEE ALSO
Shape fills are described in the section "Shape Fill" beginning on page 2-13.This function is further described for geometric shapes in the geometric shapes chapter of Inside Macintosh: QuickDraw GX Graphics, and for typographic shapes in the typographic shapes chapter of Inside Macintosh: QuickDraw GX Typography.
To determine the shape fill of a shape object, use the
GXGetShapeFill
function, described in the previous section.